Skip to content

Conversation

@cmp0xff
Copy link
Contributor

@cmp0xff cmp0xff commented Oct 19, 2025

This is an attempt to run pytest also with py314.

@Dr-Irv
Copy link
Collaborator

Dr-Irv commented Oct 19, 2025

looks like it is failing because numpy got upgraded to version 2.3.4 on October 15

@cmp0xff
Copy link
Contributor Author

cmp0xff commented Oct 19, 2025

looks like it is failing because numpy got upgraded to version 2.3.4 on October 15

Trying to fix in #1433

@cmp0xff
Copy link
Contributor Author

cmp0xff commented Oct 19, 2025

pyarrow 21.0.0 cannot be built with python3.14. We'll need to wait for apache/arrow#47438.

@loicdiridollou
Copy link
Member

Correct @cmp0xff pyarrow is not yet compatible with 314 so will have to wait for that, I tried a few days ago and fell into the same trap.

@cmp0xff
Copy link
Contributor Author

cmp0xff commented Oct 24, 2025

I think the failures are now all FutureWarnings. How should we proceed?

@Dr-Irv
Copy link
Collaborator

Dr-Irv commented Oct 24, 2025

Need to understand why the warnings happen with 3.14, but not with earlier versions of python.

Can you create a simple example that doesn't show the warning with 3.13 but does show it with 3.14 and then create a pandas issue?

@loicdiridollou
Copy link
Member

It only raises on 3.14, I dug into it and turns out it will alert if sys.getrefcount(self) in https://github.com/pandas-dev/pandas/blob/f4e1c73159cc59a5aff076604f8b43a08c4dbf5d/pandas/core/frame.py#L4291 is under 3, it is exactly 3 in 3.14 but 4 in 3.13.
Maybe a bit painful to wrap all the tests, but the warning is at least raised inside the functions and not in our tests so open to options

@Dr-Irv
Copy link
Collaborator

Dr-Irv commented Oct 24, 2025

It only raises on 3.14, I dug into it and turns out it will alert if sys.getrefcount(self) in https://github.com/pandas-dev/pandas/blob/f4e1c73159cc59a5aff076604f8b43a08c4dbf5d/pandas/core/frame.py#L4291 is under 3, it is exactly 3 in 3.14 but 4 in 3.13. Maybe a bit painful to wrap all the tests, but the warning is at least raised inside the functions and not in our tests so open to options

Can you report this on the pandas repo?

@loicdiridollou
Copy link
Member

I did a little digging and turns out the pandas team is aware: pandas-dev/pandas#61368

@Dr-Irv
Copy link
Collaborator

Dr-Irv commented Oct 25, 2025

I did a little digging and turns out the pandas team is aware: pandas-dev/pandas#61368

Great!! Let’s wait until the issue is resolved there.

@cmp0xff cmp0xff marked this pull request as ready for review October 25, 2025 22:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants